// 封装评论相关接口
import axios from '@/utils/request'
// 1.获取评论列表接口
export const getCommentList = function (params) {
  return axios({
    url: '/mp/v1_0/articles',
    method: 'GET',
    params
  })
}
// 2.修改评论状态接口
export const AmendComment = function (params, data) {
  return axios({
    url: '/mp/v1_0/comments/status',
    method: 'PUT',
    params,
    data
  })
}
